cssmatcher: Speed up common matching
authorBenjamin Otte <otte@redhat.com>
Thu, 28 May 2015 15:40:55 +0000 (17:40 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 28 May 2015 15:41:47 +0000 (17:41 +0200)
commit03312371daafe3a94d888474eb53d7361d5ed432
treea968cfbed1fc102c9e1d7998201bca6297f729d5
parent59a7739fce02627e5e24b03d9e0837c8ce01aa7b
cssmatcher: Speed up common matching

first-child and last-child are the most common usages of the nth-child
machinery, so special-casing them makes sense.
gtk/gtkcssmatcher.c